


import requests
def test_post_json():
    #定义url和JSON格式请求体
    url = "https://httpbin.ceshiren.com/post"
    json = {
        "post_key":"post_value"
    }
    r = requests.post(url,json=json)
    print(r)
test_post_json()
